package com.samsung.spen.sshare.networking.connection;

public class NetworkAddress {
	
	public static final int CONECTING = 1;
	public static final int CONNECTED = 2;
	
	private String mIp;
	private int mport;
	private int mStatus;
	
	public NetworkAddress(String ip, int port) {
		super();
		this.mIp = ip;
		this.mport = port;
	}

	public NetworkAddress(String mIp, int mport, int mStatus) {
		super();
		this.mIp = mIp;
		this.mport = mport;
		this.mStatus = mStatus;
	}

	public NetworkAddress(String mIp) {
		super();
		this.mIp = mIp;
	}

	public String getmIp() {
		return mIp;
	}

	public void setmIp(String mIp) {
		this.mIp = mIp;
	}

	public int getMport() {
		return mport;
	}

	public void setMport(int mport) {
		this.mport = mport;
	}

	public int getmStatus() {
		return mStatus;
	}

	public void setmStatus(int mStatus) {
		this.mStatus = mStatus;
	}
	
	@Override
	public String toString() {
		
		return this.mIp;
	}
}
